package com.cml.springcloud.hanlder;

import com.alibaba.csp.sentinel.slots.block.BlockException;
import com.cml.springcloud.entities.CommonResult;

/**
 * @author cml
 * @create 2021/4/28 13:56
 */
public class CustomerBlockHandler {
    public static CommonResult handleException1(BlockException exception){
        return new CommonResult(444,"自定义限流处理handleException1");
    }

    public static CommonResult handleException2(BlockException exception){
        return new CommonResult(444,"自定义限流处理handleException2");
    }
}
